<%@page language="java" pageEncoding="UTF-8" %>
<%@include file="/template/common/include/top.jsp" %>
<%@include file="/template/common/include/constant.jsp" %>
<script type="text/javascript" src="${path}/template/js/gftuserfunc.js"></script>
<script type="text/javascript" src="${path}/template/js/data.js"></script>
<script language="javascript">
    var eles = [];
</script>
<body>
<div style="width:1000px;">
    <div class="main1">当前的位置:约车管理&gt;&gt;添加预约规则</div>
    <form method="post" action="${path}/dfss/plan.x" id="editFrm">
        ${sys_searchparemeter}
        <input type="hidden" id="id_op" name="op" value="update"/>
        <input type="hidden" name="p.id" value="${p.id}"/>

        <div class="edit_div">
            <table>
                <tr>
                    <td width="5">
                        <input type="radio" name="rdate" value="1" id="RadioGroup1_0">
                    </td>
                    <td>日期:</td>
                    <td><input type="text" id="id_u_userCode" name="p.planDate" value="${p.planDate}" onClick="getDateString(this,oCalendarChs)" readonly/></td>
                </tr>
                <tr>
                    <td><input type="radio" name="rdate" value="2" id="RadioGroup1_1" checked="checked"></td>
                    <td>星期:</td>
                    <td><label>
                        <select name="weeks">
                            <option value="1">星期天</option>
                            <option value="2">星期一</option>
                            <option value="3">星期二</option>
                            <option value="4">星期三</option>
                            <option value="5">星期四</option>
                            <option value="6">星期五</option>
                            <option value="7">星期六</option>
                        </select>
                    </label></td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>时间:</td>
                    <td><select name="p.planTime">
                        <option value="1">7点-9点</option>
                        <option value="2">9点-13点</option>
                        <option value="3">13点-17点</option>
                        <option value="4">17点-19点</option>
                        <option value="5">19点-21点</option>
                    </select></td>
                </tr>
                <tr>
                  <td>
                    <input type="checkbox" name="p.today" <c:if test='${p.today == 2}'>checked</c:if> >
                  </td>
                  <td colspan="2">预约当日及次日车时（当日及次日车时不可在网上退订！）</td>
                </tr>
            </table>
  </div>
        <div class="edit_div">
            <input type="button" onClick="checkForm(eles,'editFrm');" value="确定" class="btn_Submit"/>
            <input type="button" onClick="commit('editFrm',[['id_op','find']]);" value="返回" class="btn_Submit"/>
        </div>
    </form>
</div>
</body>
